/**  
* @Title: Student.java  
* @Package com.ssm.demo.model  
* @Description: TODO(用一句话描述该文件做什么)  
* @author jing Lei 
* @date 2019年1月11日  
* @version V1.0  
*/

package com.ssm.demo.model;

import java.util.Date;

/**
 * @ClassName: Student
 * @Description: 学生实体类
 * @author jing Lei
 * @date 2019年1月11日
 * 
 */

public class Student extends BaseModel {
	/**
	 * @Fields field:field:{todo}(用一句话描述这个变量表示什么)
	 */

	private static final long serialVersionUID = 3524270562067013729L;
	/**
	 * 学号
	 */
	private String studentNumber;
	/**
	 * 姓名
	 */
	private String studentName;
	/**
	 * 性别
	 */
	private int studentSex;
	/**
	 * 所在系别
	 */
	private String major;
	/**
	 * 电话
	 */
	private String phone;
	/**
	 * 年级
	 */
	private String grade;
	/**
	 * 生效时间
	 */
	private Date effectiveTime;
	/**
	 * 失效时间
	 */
	private Date failureTime;
	/**
	 * 违章状况
	 */
	private int illegalstatus;
	/**
	 * 累计借书
	 */
	private int borrowall;
	/**
	 * 是否在校
	 */
	private int inschool;
	/**
	 * 备注
	 */
	private String remark;

	public String getStudentNumber() {
		return studentNumber;
	}

	public void setStudentNumber(String studentNumber) {
		this.studentNumber = studentNumber;
	}

	public String getStudentName() {
		return studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

	public int getStudentSex() {
		return studentSex;
	}

	public void setStudentSex(int studentSex) {
		this.studentSex = studentSex;
	}

	public String getMajor() {
		return major;
	}

	public void setMajor(String major) {
		this.major = major;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getGrade() {
		return grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	public Date getEffectiveTime() {
		return effectiveTime;
	}

	public void setEffectivetime(Date effectiveTime) {
		this.effectiveTime = effectiveTime;
	}

	public Date getFailureTime() {
		return failureTime;
	}

	public void setFailureTime(Date failureTime) {
		this.failureTime = failureTime;
	}

	public int getIllegalstatus() {
		return illegalstatus;
	}

	public void setIllegalstatus(int illegalstatus) {
		this.illegalstatus = illegalstatus;
	}

	public int getBorrowall() {
		return borrowall;
	}

	public void setBorrowall(int borrowall) {
		this.borrowall = borrowall;
	}

	public int getInschool() {
		return inschool;
	}

	public void setInschool(int inschool) {
		this.inschool = inschool;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	/**
	 * 创建一个新的实例 Student.
	 * 
	 * @param studentNumber
	 * @param studentName
	 * @param studentSex
	 * @param major
	 * @param phone
	 * @param grade
	 * @param effectiveTime
	 * @param failureTime
	 * @param illegalstatus
	 * @param borrowall
	 * @param inschool
	 * @param remark
	 */
	
	public Student(){}
	
	public Student(String studentNumber, String studentName, int studentSex, String major, String phone, String grade,
			Date effectiveTime, Date failureTime, int illegalstatus, int borrowall, int inschool, String remark) {
		super();
		this.studentNumber = studentNumber;
		this.studentName = studentName;
		this.studentSex = studentSex;
		this.major = major;
		this.phone = phone;
		this.grade = grade;
		this.effectiveTime = effectiveTime;
		this.failureTime = failureTime;
		this.illegalstatus = illegalstatus;
		this.borrowall = borrowall;
		this.inschool = inschool;
		this.remark = remark;
	}

}
